{config_load file="$language/lang.conf" section="address_book"}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{#heading_address#}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
{$FORM_ACTION}
{if $error!=''}
	<div class="notification error br6 png_bg">
		<a href="#" class="close">close</a>
		<div>{$error}</div>
	</div>
{/if}
<div class="mg">
<div class="lrbox">
	<div class="lbox">
		<h3 class="small-title">{#title_standard#}</h3>
		{#text_standard#}
	</div>
	<div class="rbox">
		<h3 class="small-title">{#title_standard#}</h3>
		{$ADDRESS_DEFAULT}
	</div>
	<div class="clear"></div>
</div>
</div>

<div class="mg">
	<h3 class="small-title">{#title_addresses#}</h3>
	
	{foreach name=aussen item=addresses from=$addresses_data}
	<div class="address-book-list">
		<p class="left-l">
			<span class="left-l-title"><strong>{$addresses.NAME}</strong>{if $addresses.PRIMARY=='1'} <em>({#title_standard#})</em>{/if}<span><br />
			<span>{$addresses.ADDRESS}</span>
		</p>
		<p class="left-r">{$addresses.BUTTON_EDIT}{$addresses.BUTTON_DELETE}</p>
		<div class="clear"></div>
	</div>
	{/foreach}
	<div class="clear"></div>
	{$ADDRESS_COUNT}
</div>
<div class="clear"></div>
<div class="fl">{$BUTTON_BACK}</div>
<div class="frt">{$BUTTON_NEW}</div>
<div class="clear"></div>
</form>
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>